home *** CD-ROM | disk | FTP | other *** search
/ HaCKeRz Kr0nlcKLeZ 1 / HaCKeRz Kr0nlcKLeZ.iso / chibacity / skel_key.arj / LOGIN.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-29  |  481 b   |  17 lines

  1. /* Example Login Program... kinda.... */
  2. #include <stdio.h>
  3. #include <conio.h>
  4. main()
  5. {
  6. char UserName[80];
  7. char *Password;
  8. printf("\n\nDemonstration Login Program (c) 1993 the No Secrets Agency");
  9. printf("\nEnter Username: ");
  10. gets(UserName);
  11. Password = getpass("Enter Password: ");
  12. printf("\nUser \"%s\" logged in.",UserName);
  13. printf("\nRemember - Giving Away Passwords is a Class A Misdemeanor!");
  14. printf("\nBTW - Your password is \"%s!\"",Password);
  15. return 0;
  16. }
  17.